package com.twu.biblioteca;

public class MovieDetail extends Movie{

    private boolean checkedOut;
    private String checkedOutBy;

    public MovieDetail(String name, String director, String year, int rating) {
        super(name, director, year, rating);
    }

    public void setCheckedOut(boolean checkedOut) {
        this.checkedOut = checkedOut;
    }


    public boolean getCheckedOut() {
        return this.checkedOut;
    }

    public void setCheckedOutBy(String userId) {
        checkedOutBy = userId;
    }
}
